package eteam.aps.systemservice.model.mapper;

import eteam.aps.systeminterface.model.dto.OrgDto;
import eteam.aps.systeminterface.model.entity.OrgEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface IOrgMapper {
    IOrgMapper INSTANCE = Mappers.getMapper(IOrgMapper.class);

    //@Mapping(source = "forgid", target = "forgid")
    OrgEntity toEntity(OrgDto param);

    //@Mapping(source = "forgid", target = "forgid")
    OrgDto toDto(OrgEntity param);
}